package net.lab1024.sa.admin.module.yitihua.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 一体化平台重点关爱人群 新建表单
 *
 * @Author cfsjiazy
 * @Date 2025-09-12 11:50:48
 * @Copyright  
 */

@Data
public class Cfs119CarePersonAddForm {

    @Schema(description = "性别，字典：SEX", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "性别，字典：SEX 不能为空")
    private String gender;

    @Schema(description = "年龄", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "年龄 不能为空")
    private Integer age;

    @Schema(description = "出生日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "出生日期 不能为空")
    private LocalDateTime birthDate;

    @Schema(description = "是否独居，字典：YN", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "是否独居，字典：YN 不能为空")
    private String isAlone;

    @Schema(description = "健康状态，字典：XF_PERSON_HEALH_STATUS", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "健康状态，字典：XF_PERSON_HEALH_STATUS 不能为空")
    private String healthStatus;

    @Schema(description = "是否有拾荒习惯，字典：YN", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "是否有拾荒习惯，字典：YN 不能为空")
    private String habit;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "备注 不能为空")
    private String note;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "创建时间 不能为空")
    private LocalDateTime createTime;

    @Schema(description = "更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "更新时间 不能为空")
    private LocalDateTime updateTime;

}